.pagination {
    > li {
        display: inline-block;

        > a,
        > span {
            font-weight: 400;
            color: $cfont-semi;
            border: none;
            background-color: transparent;
        }
        &:first-child {
            > a,
            > span {
                border: none;
            }
        }
        &:last-child {
            > a,
            > span {
                border: none;
            }
        }
    }

    > li > a,
    > li > span {
        &:hover,
        &:focus {
            z-index: 2;
            color: $cfont-focus;
            background-color: transparent;
            border: none;
        }
    }

    > .active > a,
    > .active > span {
        &,
        &:hover,
        &:focus {
            z-index: 3;
            color: $cfont-focus;
            background-color: transparent;
            border: none;
        }
    }

    > .disabled {
        > span,
        > span:hover,
        > span:focus,
        > a,
        > a:hover,
        > a:focus {
            border: none;
            background-color: transparent;
        }
    }
}